home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / termcap.zip / TERMCAP.PC < prev   
Text File  |  1993-05-01  |  4KB  |  164 lines

  1. #
  2. #    /etc/termcap for IBM PC's and friends.
  3. #    Gratiously supplied by Darren Friedlein.
  4. #    Completed by Norman H. Azadian.
  5. #
  6.  
  7. #
  8. # Monochrome IBMPC.
  9. #    This is a termcap for the NANSI.SYS device driver.
  10. #    It is the same as the ANSI termcap, except NANSI supports additionally
  11. #    line & char insert & delete (AL,al, DL,dl, DC,dc, IC,ic).
  12. #
  13. nansi-mono|mono:\
  14.     :AL=\E[%dL:al=\E[1L:\
  15.     :DC=\E[%dP:dc=\E[1P:DL=\E[%dM:dl=\E[1M:\
  16.     :IC=\E[%d@:ic=\E[1@:\
  17.     :tc=ansi-mono:
  18.  
  19.  
  20. #
  21. # monochrome ANSI
  22. #
  23. ansi-mono:\
  24.     :am:\
  25.     :bc=\E[1D:bl=^G:bs:\
  26.     :cd=\E[2J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%i%2H:co#80:\
  27.     :ho=\E[H:\
  28.     :K1=\200G:K2=\200I:K4=\200O:K5=\200Q:\
  29.     :k0=\200;:k1=\200<:k2=\200=:k3=\200>:k4=\200?:k5=\200@:\
  30.     :k6=\200A:k7=\200B:k8=\200C:k9=\200D:\
  31.     :kb=^H:kC=\200w:kD=\200S:kd=\200H:kE=\200u:kH=\200O:kh=\200G:\
  32.     :kI=\200R:kl=\200K:kN=\200Q:kP=\200I:kr=\200M:kS=\200v:ku=\200P:\
  33.     :LE=\E[%dD:le=\E[1D:li#25:\
  34.     :mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:ms:\
  35.     :nd=\E[C:\
  36.     :RI=\E[%dC:rc=\E[u:\
  37.     :sc=\E[s:se=\E[0m:so=\E[7m:\
  38.     :te=\E[0m:ti=\E[0m:\
  39.     :UP=\E[%dA:ue=\E[0m:up=\E[A:us=\E[4m:\
  40.     :xd=\E[B:xs:
  41.  
  42.  
  43. #
  44. # Color IBMPC.
  45. #    This is a termcap for the NANSI.SYS device driver.
  46. #    It is the same as the ANSI termcap, except NANSI supports
  47. #    character & line insert & delete, while ANSI does not.
  48. #
  49. nansi-color|color:\
  50.     :AL=\E[%dL:al=\E[1L:\
  51.     :DC=\E[%dP:dc=\E[1P:DL=\E[%dM:dl=\E[1M:\
  52.     :IC=\E[%d@:ic=\E[1@:\
  53.     :tc=ansi-color:
  54.  
  55. #
  56. # ANSI Color
  57. #
  58. ansi-color:\
  59.     :bc=\E[1D:bl=^G:bs:\
  60.     :cd=\E[2J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%2;%i%2H:co#80:\
  61.     :ho=\E[H:\
  62.     :K1=\200G:K2=\200I:K4=\200O:K5=\200Q:\
  63.     :k0=\200;:k1=\200<:k2=\200=:k3=\200>:k4=\200?:k5=\200@:\
  64.     :k6=\200A:k7=\200B:k8=\200C:k9=\200D:\
  65.     :kb=^H:kC=\200w:kD=\200S:kd=\200H:kE=\200u:kH=\200O:kh=\200G:\
  66.     :kI=\200R:kl=\200K:kN=\200Q:kP=\200I:kr=\200M:kS=\200v:ku=\200P:\
  67.     :LE=\E[%dD:le=\E[1D:li#25:\
  68.     :mb=\E[5m:md=\E[1m:me=\E[0m:mk=\E[8m:mr=\E[7m:ms:\
  69.     :nd=\E[C:\
  70.     :RI=\E[%dC:rc=\E[u:\
  71.     :sc=\E[s:se=\E[44;37m:so=\E[31m:\
  72.     :te=\E[0m:ti=\E[44;37m:\
  73.     :UP=\E[%dA:ue=\E[0m:up=\E[A:us=\E[4m:\
  74.     :xd=\E[B:xs:
  75.  
  76.  
  77.  
  78. #
  79. # alternative nansi color
  80. #
  81. alt-nansi-color:\
  82.     :co#80:\
  83.     :li#25:\
  84.     :cl=\E[2J:\
  85.     :bs:\
  86.     :ho=\E[H:\
  87.     :cm=\E[%i%2;%2H:\
  88.     :up=\E[A:\
  89.     :xd=\E[B:\
  90.     :nd=\E[C:\
  91.     :bc=\E[D:\
  92.     :ce=\E[K:\
  93.     :ti=\E[44;37m:\
  94.     :te=\E[0m:\
  95.     :so=\E[31m:\
  96.     :se=\E[44;37m:\
  97.     :us=\E[1m:\
  98.     :ue=\E[m:\
  99.     :hi=\E[32m:\
  100.     :he=\E[44;37m:\
  101.     :al=\E[L:\
  102.     :dl=\E[M:
  103.  
  104. #
  105. # Monochrome IBMPC, especially lobotomized for /usr/games/larn.
  106. #    Each capability (that larn requires) must start on a new line.
  107. #    Must not use 2nd %i in :cm capability, although it should be there.
  108. #
  109. larn-mono|hack-mono:\
  110.     :al=\E[L:\
  111.     :bc=\E[D:\
  112.     :bs:\
  113.     :ce=\E[K:\
  114.     :cl=\E[2J:\
  115.     :cm=\E[%i%2;%2H:\
  116.     :co#80:\
  117.     :dc=\E[P:\
  118.     :dl=\E[M:\
  119.     :ho=\E[H:\
  120.     :ic=\E[@:\
  121.     :li#25:\
  122.     :mb=\E[5m:\
  123.     :md=\E[7m:\
  124.     :me=\E[0m:\
  125.     :mk=\E[8m:\
  126.     :mr=\E[7m:\
  127.     :nd=\E[C:\
  128.     :se=\E[0m:\
  129.     :so=\E[1m:\
  130.     :te=\E[0m:\
  131.     :ti=\E[0m:\
  132.     :ue=\E[0m:\
  133.     :up=\E[A:\
  134.     :us=\E[4m:\
  135.     :xd=\E[B:\
  136.     :xs:
  137.     
  138. #
  139. # Color IBMPC, especially lobotomized for /usr/games/larn.
  140. #    Each capability (that larn requires) must start on a new line.
  141. #    Must not use 2nd %i in :cm capability, although it should be there.
  142. #
  143. larn-color|hack-color:\
  144.     :bc=\E[D:\
  145.     :bs:\
  146.     :ce=\E[K:\
  147.     :cl=\E[2J:\
  148.     :cm=\E[%i%2;%2H:\
  149.     :co#80:\
  150.     :he=\E[44;37m:\
  151.     :hi=\E[32m:\
  152.     :ho=\E[H:\
  153.     :li#25:\
  154.     :nd=\E[C:\
  155.     :se=\E[44;37m:\
  156.     :so=\E[31m:\
  157.     :te=\E[0m:\
  158.     :ti=\E[44;37m:\
  159.     :ue=\E[m:\
  160.     :up=\E[A:\
  161.     :us=\E[1m:\
  162.     :xd=\E[B:\
  163.     :xs:
  164.